package com.tuanzi.utils;

import lombok.*;

/**
 * @author tuanzi
 * @version 1.0
 * @date 2022/3/30 13:45
 */

@ToString
@NoArgsConstructor
@AllArgsConstructor
@Getter
public enum Status {

    LOGINSUCCESS(1001,"登录成功"),
    NOACCOUNT(1002,"没有当前账户"),
    PASSWORDFAIL(1003,"密码错误"),
    CODEFAIL(1004,"验证码错误"),
    GETSUCCESS(1005,"获取成功"),
    GETFAILED(1006,"获取失败"),
    CHANGEFAILED(1007,"更改失败"),
    CHANGESUCCESS(1008,"更改成功"),
    JUMPSUCCESS(1009,"跳转成功"),
    JUMPFAILED(1010,"跳转失败"),
    ADDSUCCESS(1011,"添加成功"),
    ADDFAILED(1012,"添加失败"),
    DELETESUCCESS(1013,"删除成功"),
    DELETEFAILED(1014,"删除失败"),
    ;

    private Integer code;
    private String message;

}
